from celery import Task


class Add(Task):
    name = "add"

    def run(self, x, y):
        return x + y


class sub(Task):
    name = "sub"

    def run(self, x, y):
        return x - y
